//
//  ViewController.m
//  22-SD_webImage
//
//  Created by 王道林 on 16/8/12.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "ViewController.h"
#import "UIImageView+WebCache.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *iamgeView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [self createSD_WedImage];
}

- (void)createSD_WedImage
{
    [_iamgeView sd_setImageWithURL:[NSURL URLWithString:@"http://www.liatui.com/uploads/allimg/160803/11501WU9-1.jpg"] placeholderImage:[UIImage imageNamed:@"1"] options:SDWebImageDelayPlaceholder];
    NSLog(@"%@", NSHomeDirectory());
}






- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
